<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml"> 
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="shortcut icon" href="<?=HOME?>favicon.ico" type="image/x-icon" />
		<link rel="icon" href="<?=HOME?>favicon.ico" type="image/x-icon" />
		<title>FMT-Commerce</title>
		<?php echo $this->headLink()->appendStylesheet(HOME.'css/style.css') ?>
		<?php echo $this->headLink()->appendStylesheet(HOME.'js/lib/lightbox/css/jquery.lightbox-0.5.css') ?>
		<script src="<?=HOME . 'js/lib/jquery/jquery-1.3.2.min.js'?>"></script>
		<script src="<?=HOME . 'js/lib/lightbox/js/jquery.lightbox-0.5.js'?>"></script>
		<script src="<?=HOME . 'js/script.js'?>"></script>
	</head>
	<body>
		<div class="div_principal">
			<div class="div_topo">
				<h1>fmtCommerce</h1>
				<div class="busca">
					<form method="get" name="frmSearch" action="<?=$this->url(array('controller'=>'busca','action'=>'search'),'default',true)?>">
						<div style="float: left;">
							<input type="text" name="q" class="buscaI" />
						</div>
						<!-- <div class="ok"> -->
							<a class="btOk" style="padding: 0px; " href="#" onclick="actionPost('frmSearch');">Ok</a>
						<!-- </div> -->
					</form>
				</div>
				<div style="height: 40px;"></div>
				<div class="funcPerfil">
					<a class="btMeusPedidos" href="<?=$this->url(array('controller'=>'cliente','action'=>'pedidos'),'default',true)?>">Meus Pedidos</a>
					<a class="btCadastro" href="<?=$this->url(array('controller'=>'cliente','action'=>'cadastro'),'default',true)?>">Cadastre-se</a>
				</div>
				<div class="funcCarrinho">
					<a class="btCarrinho" href="<?=$this->url(array('controller'=>'carrinho','action'=>'visualizar'),'default',true)?>">Meu Carrinho</a>
				</div>
			
				
			</div>
			<div class="div_conteudo">
				<div class="div_menu">
					<?=$this->partial('menu.phtml')?>
				</div>
				<div class="div_paginas">
					<?php echo $this->layout()->content ?>
				</div>
				<br class="clearAll"/>
			</div>
		</div>
		<div class="div_rodape" align="center">
			<span>FMT Com&eacute;rcio Eletr&ocirc;nico &copy; Todos os direitos reservados</span>
		</div>
	</body>
</html>